﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="~/BabyAdminCP/Default.aspx.cs" Inherits="Admin_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>BabyFood Admin</title>
    <link href="~/CSS/Home.css" rel="stylesheet" type="text/css" />
</head>
<body style="background-image:url(../Images/backstripes.gif)">
    <form id="form1" runat="server">
    <div style="width:100%; height:100%; padding-top:100px">
      <table border="0" width="400" id="table1" cellspacing="0" cellpadding="0" class="hrm_table_border_blue" align="center">
	    <tr>
		    <td width="130"><img border="0" src="<%=ResolveUrl("../Images/login_01.jpg")%>" width="130" height="42"></td>
		    <td width="270" style="background-image:url(../Images/login_02.jpg); background-repeat:repeat-x"></td>
	    </tr>
	    <tr>
		    <td colspan="2" height="127">
            <table border="0" width="100%" cellspacing="0" cellpadding="0" style="margin-left:5px">
                <tr>
                    <td colspan="4" height="6"><asp:ValidationSummary ID="vsError" runat="server" DisplayMode="List" CssClass="hrm_text_red" HeaderText="BabyFood Thông báo" ShowMessageBox="True" ShowSummary="False"/></td>
                </tr>                        
                <tr>
                    <td style="width: 39px"></td>
                    <td class="hrm_title_grey" style="width: 83px">Tên truy cập</td>
                    <td width="7" class="hrm_title_grey">:</td>
                    <td>
                        <asp:TextBox ID="UserName" CssClass="hrm_textbox" runat="server" Width="180px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" SetFocusOnError="true" CssClass="hrm_title_red" runat="server"  ErrorMessage="+ Chưa nhập Tên truy cập!" ControlToValidate="UserName">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="3"></td>
                </tr>                            
                <tr>
                    <td style="width: 39px"></td>                            
                    <td class="hrm_title_grey" style="width: 83px">Mật khẩu</td>
                    <td width="7" class="hrm_title_grey">:</td>
                    <td>
                        <asp:TextBox ID="Password" CssClass="hrm_textbox" runat="server" TextMode="Password" Width="180px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" CssClass="hrm_title_red" ErrorMessage="+ Chưa nhập Mật khẩu!">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="10"></td>
                </tr>                           
                <tr>
                    <td style="width: 39px"></td>                                                        
                    <td align="right" style="width: 83px"></td>                                
                    <td colspan="2" style="padding-left:40px">
                        <asp:ImageButton ID="cmdDangNhap" ImageUrl="~/Images/login.jpg" runat="server" onclick="cmdDangNhap_Click" />
                        <asp:ImageButton ID="cmdHuyBo" CausesValidation="false" ImageUrl="~/Images/huy.jpg" OnClientClick="window.close();" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td colspan="4" height="3"></td>
                </tr>
                </table>
            </td>
	    </tr>
	    <tr>
		    <td colspan="2" height="2" align="center">
                <img src="<%=ResolveUrl("../Images/line_node.jpg")%>" width="300" height="3" /></td>
	    </tr>	    
	    <tr>
		    <td colspan="2" background="../Images/login_06.jpg" height="28" align="center" style="font-size:10px">
		        ©2012 BabyFood, Inc. All Rights Reserved.
		    </td>
	    </tr>
    </table>
    </div>
    </form>
</body>
</html>
